import 'package:flutter/material.dart';

Border createBorder({double width = 0.8, Color color}) {
  if (color == null) {
    color = Colors.grey[500];
  }

  var border = new Border(
    top: new BorderSide(width: 0.8, style: BorderStyle.solid, color: color),
    right: new BorderSide(width: 0.8, style: BorderStyle.solid, color: color),
    bottom: new BorderSide(width: 0.8, style: BorderStyle.solid, color: color),
    left: new BorderSide(width: 0.8, style: BorderStyle.solid, color: color),
  );

  return border;
}
